<script setup lang="ts">
import ReQrcode from "@/components/ReQrcode";
import { message } from "@/utils/message";
defineOptions({
  name: "Identify"
});
const qrcodeText = "用户身份信息admin";
const codeClick = () => {
  message("点击事件", { type: "info" });
};
</script>

<template>
  <div>
    <el-row>
      <el-col :xl="6" :lg="6" :md="12" :sm="24" :xs="24">
        <el-card shadow="hover" class="mb-[10px] text-center">
          <div class="font-bold">扫描获得身份信息</div>
          <ReQrcode :text="qrcodeText" @click="codeClick" />
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>
